package com.zhangdi.demo.gateway;

import org.springframework.cloud.openfeign.FallbackFactory;
import org.springframework.stereotype.Component;

@Component
public class PaymentFallback implements FallbackFactory<String> {
    @Override
    public String create(Throwable cause) {
        return "我熔断了这个服务";
    }
}
